package main

import (
	"gogogo/basic/pprof/data"
	"log"
	"net/http"
	_ "net/http/pprof"
	"time"
)

/*
   Author: mahaiyuan
   Date: 2021/7/19 2:03 下午
   Description:
*/
func main() {
	go func() {
		for true {
			log.Println(data.Add("http://www.baidu.com"))
			time.Sleep(1 * time.Second)
		}
	}()
	http.ListenAndServe(":8888", nil)
}